<?php
 $o=new class  {
    public function __get($property){
        return  $this->property;

    } 
    public function __set($property,$value){
         $this->$property=$value;

    } 
};
 
$o->abs=55;
var_dump($o->abs);

